package com.smartwebx.fr.service.ckeditor;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.smartwebx.fr.dao.mysql.PageChartMapper;

@Service
@Transactional
public class PageChartService {
	@Autowired
	private PageChartMapper pageChartDao;
	
	/**
	 * 判断pageChartId在数据库中是否存在
	 * 
	 * @param chartId
	 * @return
	 */
	public Boolean checkChartIdExist(String chartId) {
		return pageChartDao.checkChartIdExist(chartId);
	}
}
